import { http } from '@/utils/request.js'

const customerFinanceInformationService = {
  list: (params) => {
    return http.get('/system/customerFinanceInformation/list', params)
  },
  add: (data) => {
    return http.post('/system/customerFinanceInformation', data)
  },
  edit: (data) => {
    return http.put('/system/customerFinanceInformation', data)
  },
  delete: (id) => {
    return http.delete(`/system/customerFinanceInformation/${id}`)
  },
}

export default customerFinanceInformationService
